<div class="container">

    <div class="page-header">

        <div class="row">

            <h1 class="span8">Pregled hotela</h1>

            <span class="span4">

            </span>

        </div>


    </div>

    <div class="row">

        <div class="span12">

            <div class="demo_jui">

                <? $this->load->view('templates/objects/all'); ?>

            </div>

        </div>

    </div>

</div>

<script type="text/javascript" charset="utf-8">
    jQuery(document).ready(function() {

            jQuery('.delete_post').live('click',function(){

                    var conf = confirm("Delete object?")
                    if (!conf){
                        return false;
                    }

                    window.location.href = jQuery(this).attr('href');

                    return false;

            });

    } );
</script>